from kivy.uix.dropdown import DropDown

from common import KvLoad
from .base import MenuButton


class FileMenuDropDown(DropDown):
    pass


class FileMenuButton(MenuButton):

    def __init__(self, **kwargs):
        KvLoad.load(__file__)
        super().__init__(**kwargs)

        self.dropdown = FileMenuDropDown()
        self.bind(on_release=self.dropdown.open)
